import layout from 'common/src/views/layout/base';
import competitionRegistrationRules from 'common/src/views/competitionRegistration/ruleSetting/competitionRegistrationRules';
import competitionList from 'common/src/views/competitionRegistration/competition/competitionList';
import competitionListView from 'common/src/views/competitionRegistration/competition/competitionListView';
import examinationRegistration from 'common/src/views/competitionRegistration/competition/examinationRegistration';
import examinationSetting from 'common/src/views/competitionRegistration/examinationSetting/examinationSetting';
import myResults from 'common/src/views/competitionRegistration/myResults/myResults';
import arrangingExaminations from 'common/src/views/competitionRegistration/arrangingExaminations/arrangingExaminations';
import registrationListIndividual from 'common/src/views/competitionRegistration/registrationList/registrationListIndividual';
import registrationListTeam from 'common/src/views/competitionRegistration/registrationList/registrationListTeam';
import competitionManagement from 'common/src/views/competitionRegistration/competitionManagement/competitionManagement';
const competitionRegistration = {
  path: '/competitionRegistration',
  name: 'competitionRegistration',
  component: layout,
  children: [
    // 竞赛报名规则
    {
      path: '/competitionRegistrationRules',
      name: 'competitionRegistrationRules',
      component: competitionRegistrationRules,
      meta: {
        nokeepalive: true
      }
    },
    // 考试（竞赛）列表
    {
      path: '/competitionList',
      name: 'competitionList',
      component: competitionList,
      meta: {
        nokeepalive: true
      }
    },
    // 考试（竞赛）列表
    {
      path: '/competitionListView',
      name: 'competitionListView',
      component: competitionListView,
      meta: {
        nokeepalive: true
      }
    },
    // 学生报名
    {
      path: '/examinationRegistration',
      name: 'examinationRegistration',
      component: examinationRegistration,
      meta: {
        nokeepalive: true
      }
    },
    // 考场设置
    {
      path: '/examinationSetting',
      name: 'examinationSetting',
      component: examinationSetting,
      meta: {
        nokeepalive: true
      }
    },
    // 我的成绩
    {
      path: '/myResults',
      name: 'myResults',
      component: myResults,
      meta: {
        nokeepalive: true
      }
    },
    // 排考
    {
      path: '/arrangingExaminations',
      name: 'arrangingExaminations',
      component: arrangingExaminations,
      meta: {
        nokeepalive: true
      }
    },
    // 竞赛报名名单（个人）
    {
      path: '/registrationListIndividual',
      name: 'registrationListIndividual',
      component: registrationListIndividual,
      meta: {
        nokeepalive: true
      }
    },
    // 竞赛报名名单（团体）
    {
      path: '/registrationListTeam',
      name: 'registrationListTeam',
      component: registrationListTeam,
      meta: {
        nokeepalive: true
      }
    },
    // 成绩管理
    {
      path: '/competitionManagement',
      name: 'competitionManagement',
      component: competitionManagement,
      meta: {
        nokeepalive: true
      }
    }
  ]
}
export default competitionRegistration;
